
import java.util.Arrays;
import java.util.Scanner;

public class StringBuffer的用法 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
//        StringBuffer stringBuffer = new StringBuffer(scanner.nextLine());
//        stringBuffer.reverse();
//        String s = String.valueOf(stringBuffer);
//        stringBuffer.delete(0, 5);
//        stringBuffer.insert(1,2);
//        int i = stringBuffer.indexOf("1");
//        stringBuffer.length();
//        stringBuffer.insert(0,"dsadasd");
//        System.out.println(stringBuffer.length());
        int [] a= new int[]{1,2,3,4,2};
        int [] b = new int[]{1,2,3,4,2};
        boolean equals = Arrays.equals(a, b);
        System.out.println(equals);
    }
}
